//
//  SortMD5Code.h
//  WJTheWishPro
//
//  Created by ENERGY on 2018/6/9.
//  Copyright © 2018年 dwj. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface SortMD5Code : NSObject
//传给服务器json串
- (NSString *)getJsonWithStrDic:(NSDictionary *)strDic withSignDic:(NSDictionary *)signDic;
//解析data，反替换然后解码，str解析成字典，重新构造字典后排序进行MD5加密
- (NSString *)encodeStringWithDictionary:(NSDictionary *)dic;
//json格式字符串转字典
- (NSDictionary *)dictionaryWithJsonString:(NSString *)jsonString;
//得到解析字典
- (NSDictionary *)getNSDictionaryData:(NSDictionary *)dic;
//jsonDic和sign合为一个dic（为上传头像准备的方法）
- (NSDictionary *)getUploadImgWithStrDic:(NSDictionary *)strDic withSignDic:(NSDictionary *)signDic;
@end
